<template>
  <div class="module">
      <img src="../../assets/404.png" alt="">
      <el-button class="btn" type="primary" @click="goHome">返回首页</el-button>
  </div>
</template>
<script setup>
const {proxy} = getCurrentInstance();
  function goHome() {
    proxy.$router.push({ path: '/home' });
  }
</script>
<style scoped lang="scss">
.module{
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  .btn{
    margin-top: 40px;
  }
}
</style>
